package com.dd.cloud.user.mapper.plat;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dd.cloud.user.entity.plat.TrustDevice;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Lx
 * @version 1.0
 */
public interface TrustDeviceMapper extends BaseMapper<TrustDevice> {
    /**
     * 查询医生用户id
     *
     * @param phone
     * @return
     */
    Integer queryDoctorUserIdByPhone(@Param("phone") String phone);

    /**
     * 获取医生的cid
     */
    List<String> queryCidByDocType(Integer type);
}
